home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Special Computer Graphics & Animation
/
Chip-Special-Computergrafik.bin
/
programs
/
povray
/
povsrc.sea
/
POVSRC
/
SOURCE
/
POV.π.rsrc.rsrc
/
TEXT_423_ material_map.txt
< prev
next >
Wrap
Text File
|
1994-02-04
|
589b
|
15 lines
// texture attribute
// create a texture that maps different textures onto different color indexes
// image maps into X-Y plane from <0,0,0> to <1,1,0>
material_map
{
gif "test.gif" // the file to read (iff/gif/tga/dump/pot)
map_type 0 // 0=planar, 1=spherical, 2=cylindrical, 5=torus
interpolate 2 // 0=none, 1=linear, 2=bilinear, 4=normalized distance
// [once]
texture { pigment {wood} } // texture for color index # 0
texture { pigment {granite} } // texture for color index # 1
texture { pigment {agate} } // texture for color index # 2
// etc…
} // material_map